<?php
include "./config/config.php";
echo "<meta name='keywords' content='$site_config_2'>";
echo "<meta name='Description' content='$site_config_1' />";
if($skin=="ColorWorld"){
    echo '<link rel="stylesheet" type="text/css" href="css/skin2.css">';
}
if($skin=="MyCSS"){
    echo '<link rel="stylesheet" type="text/css" href="'.$mycss.'">';
}
if($gzip){
    if(Extension_Loaded('zlib')){
        Ob_Start('ob_gzhandler');
        
    }
}
if($skin=="BlackWorld"){
    //专门为特殊时期设置，例如2020/4/4
    echo '<style>html {filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);-webkit-filter: grayscale(100%);}</style>';

}
?>
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>文章列表 - <?php echo $site_name; ?> - <?php echo $site_config_1; ?></title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/nprogress.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/nprogress.js"></script>
<script src="js/jquery.lazyload.min.js"></script>
<!--[if gte IE 9]>
  <script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
  <script src="js/html5shiv.min.js" type="text/javascript"></script>
  <script src="js/respond.min.js" type="text/javascript"></script>
  <script src="js/selectivizr-min.js" type="text/javascript"></script>
<![endif]-->

</head>

<body class="user-select">
<header class="header">
  <nav class="navbar navbar-default" id="navbar">
    <div class="container">
      <div class="header-topbar hidden-xs link-border">
        <ul class="site-nav topmenu">
          
          
          
          
        </ul>
        </div>
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-navbar" aria-expanded="false"> <span class="sr-only"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
        <h1 class="logo hvr-bounce-in"><a href="" title=""><h1><?php echo $site_name; ?></h1></a></h1>
      </div>
      <div class="collapse navbar-collapse" id="header-navbar">
        <ul class="nav navbar-nav navbar-right">
          <li class="hidden-index active"><a data-cont="首页" href="index.php">首页</a></li>
          <li><a href="list.php">文章列表</a></li>
          <li><a href="write.php">发布文章</a></li>
          
        </ul>
       
      </div>
    </div>
  </nav>
</header>
<section class="container">
  <div class="content-wrap">
    <div class="content">
      <div class="jumbotron">
        <h1>欢迎访问<?php echo $site_name; ?></h1>
        <p><?php echo $site_config_1; ?></p>
      </div>
      <div id="focusslide" class="carousel slide" data-ride="carousel">
        <ol class="carousel-indicators">
          <li data-target="#focusslide" data-slide-to="0" class="active"></li>
          <li data-target="#focusslide" data-slide-to="1"></li>
          <li data-target="#focusslide" data-slide-to="2"></li>
        </ol>
        <div class="carousel-inner" role="listbox">
          <div class="item active"> <a href="" target="_blank"><img src="images/banner/banner_01.jpg" alt="" class="img-responsive"></a> 
            <!--<div class="carousel-caption"> </div>--> 
          </div>
          <div class="item"> <a href="" target="_blank"><img src="images/banner/banner_02.jpg" alt="" class="img-responsive"></a> 
            <!--<div class="carousel-caption"> </div>--> 
          </div>
          <div class="item"> <a href="" target="_blank"><img src="images/banner/banner_03.jpg" alt="" class="img-responsive"></a> 
            <!--<div class="carousel-caption"> </div>--> 
          </div>
        </div>
        <a class="left carousel-control" href="#focusslide" role="button" data-slide="prev" rel="nofollow"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">上一个</span> </a> <a class="right carousel-control" href="#focusslide" role="button" data-slide="next" rel="nofollow"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">下一个</span> </a> </div>
      <article class="excerpt-minic excerpt-minic-index">
        <h2><span class="red">&nbsp;&nbsp;&nbsp;&nbsp;博主介绍 - </span><a href="2.html" title=""><?php echo $admin_user; ?></a></h2>
        <p class="note"><?php echo $user_ps; ?></p>
      </article>
      <div class="title">
        <h3>文章列表</h3>
        
      </div>
<?php

$d=dir(".");
echo $d->path.$e;
while(false !== ($e= $d->read())) {
if(strstr($e,"_") && strstr($e,"config")){
    include $e;
    //echo "<script>alert($title)</script>";
    echo "<article class=excerpt excerpt-1><a class=focus href=article.html title=><img class=thumb data-original=1.jpg src=1.jpg alt=></a><header><a class=cat href=#>原创文章<i></i></a><h2><a href=".$url." target=_blank title=>$title</a></h2></header><p class=meta><time class=time><i class=glyphicon glyphicon-time></i> 原创</time><span class=views><i class=glyphicon glyphicon-eye-open></i> $time</span> <a class=comment href=article.html#comment><i class=glyphicon glyphicon-comment></i> 博主：$admin_user</a></p><p class=note>$content</p></article>";
}
}
$d->close();


?>
      

      <nav class="pagination" style="display: none;">
        <ul>
          
        </ul>
      </nav>
    </div>
  </div>
  <aside class="sidebar">
    <div class="fixed">
      <div class="widget widget-tabs">
        <ul class="nav nav-tabs" role="tablist">
          <li role="presentation" class="active"><a href="#notice" aria-controls="notice" role="tab" data-toggle="tab">网站介绍</a></li>
          
          
        </ul>
        <div class="tab-content">
          <div role="tabpanel" class="tab-pane notice active" id="notice">
            <ul>
              <li>
                <time datetime="">--</time>
                <a href="" target="_blank">欢迎访问<?php echo $site_name; ?></a></li>
              <li>
                <time datetime="">--</time>
                <a target="_blank" href="">本站网址：<?php echo $site_url; ?></a></li>
              <li>
                <time datetime="2016-01-04">--</time>
                <a target="_blank" href=""><?php echo $site_url; ?>所有，未经允许不可转载</a></li>
            </ul>
          </div>
          
        </div>
      </div>
      <div class="widget widget_search">
        
      </div>
    </div>
    <div class="widget widget_sentence">
      <h3>MyBlog 博客系统！</h3>
      <div class="widget-sentence-content">
        <h4>Powered by MyBlog</h4>
        <p>本站由 MyBlog 博客系统搭建成功！<br /></p>
        <?php //求不去版权，谢谢！ ?>
        <?php //MyBlog几乎完全免费，专业版也十分便宜！只需50元1年！ ?>
        <?php //不去版权享受维护特权哦 ?>
      </div>
    </div>
    <div class="widget widget_hot">
      <h3>热门文章</h3>
      <ul>
        <li><a href=<?php echo $hot_doc_url; ?> target="_blank"><span class="thumbnail"><img class="thumb" data-original="1.jpg" src="1.jpg" alt=""></span><span class="text"><?php echo $hot_doc; ?></span><span class="muted"><i class="glyphicon glyphicon-time"></i> <?php echo "热门文章"; ?> </span><span class="muted"><i class="glyphicon glyphicon-eye-open"></i> 可见</span></a></li>
        
      </ul>
    </div>
  </aside>
</section>
<footer class="footer">
  <div class="container">
    <?php echo $bq; ?>
     友情链接：<a href=<?php echo $friendurl; ?>><?php echo $friendurl_name; ?></a>
  </div>
  <div id="gotop"><a class="gotop"></a></div>
</footer>



<!--右键菜单列表-->
<div id="rightClickMenu">
  <ul class="list-group rightClickMenuList">
    <li class="list-group-item disabled">欢迎访问<?php echo $site_name; ?></li>
    <li class="list-group-item"><span><?php echo $site_url; ?>所有</li>
    <li class="list-group-item"><span>谢谢你的支持！</li>
    
  </ul>
</div>
<script src="js/bootstrap.min.js"></script> 
<script src="js/jquery.ias.js"></script> 
<script src="js/scripts.js"></script>
</body>
</html>